home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Computers
/
Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso
/
shareware
/
fractals
/
apfelkiste
/
apfelkiste1.3
/
source
/
apfelkiste1.3src.lzh
/
Apf1.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-13
|
7KB
|
290 lines
/************************************************************************/
/* Apf1.h --- All the stuff needed for the rendering of my windows */
/************************************************************************/
UBYTE UNDOBUFFER[40];
SHORT BorderVectors1[] = {
0, 0, 45, 0, 45, 14, 0, 14, 0, 0
};
struct Border Border1 = {
-1, -1, 3, 0, JAM1, 5, BorderVectors1, NULL
};
struct IntuiText IText1 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "COLOR", NULL
};
struct Gadget Gadget22 = {
NULL, 207, 142, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR)& Border1,
NULL, &IText1, NULL, NULL, GAD_COLOR, NULL
};
struct IntuiText IText2 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "DEFLT", NULL
};
struct Gadget Gadget21 = {
&Gadget22, 159, 142, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR)& Border1,
NULL, &IText2, NULL, NULL, GAD_DEFAULT, NULL
};
struct IntuiText IText3 = {
3, 0, JAM2, 10, 3, NULL, (UBYTE *) "22222", NULL
};
struct Gadget Gadget20 = {
&Gadget21, 159, 176, 44, 13, NULL, RELVERIFY, BOOLGADGET,(APTR) &Border1,
NULL, &IText3, NULL, NULL, GAD_CYCLE, NULL
};
struct IntuiText IText4 = {
3, 0, JAM2, 14, 3, NULL, (UBYTE *) "11111", NULL
};
struct Gadget Gadget19 = {
&Gadget20, 159, 159, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText4, NULL, NULL, GAD_TASK, NULL
};
struct IntuiText IText5 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "PRINT", NULL
};
struct Gadget Gadget18 = {
&Gadget19, 111, 142, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText5, NULL, NULL, GAD_PRINT, NULL
};
struct IntuiText IText6 = {
3, 0, JAM2, 6, 3, NULL, (UBYTE *) "SAVE", NULL
};
struct Gadget Gadget17 = {
&Gadget18, 63, 142, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText6, NULL, NULL, GAD_SAVE, NULL
};
struct IntuiText IText7 = {
3, 0, JAM2, 6, 3, NULL, (UBYTE *) "LOAD", NULL
};
struct Gadget Gadget16 = {
&Gadget17, 15, 142, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText7, NULL, NULL, GAD_LOAD, NULL
};
struct IntuiText IText8 = {
3, 0, JAM2, 6, 3, NULL, (UBYTE *) "QUIT", NULL
};
struct Gadget Gadget15 = {
&Gadget16, 255, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText8, NULL, NULL, GAD_QUIT, NULL
};
struct IntuiText IText9 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "MOUSE", NULL
};
struct Gadget Gadget14 = {
&Gadget15, 207, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText9, NULL, NULL, GAD_MOUSE, NULL
};
struct IntuiText IText10 = {
3, 0, JAM2, 6, 3, NULL, (UBYTE *) "VIEW", NULL
};
struct Gadget Gadget13 = {
&Gadget14, 159, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText10, NULL, NULL, GAD_VIEW, NULL
};
struct IntuiText IText11 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "FLOAT", NULL
};
struct Gadget Gadget12 = {
&Gadget13, 111, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText11, NULL, NULL, GAD_FLOAT, NULL
};
struct IntuiText IText12 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) " FXP ", NULL
};
struct Gadget Gadget11 = {
&Gadget12, 63, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText12, NULL, NULL, GAD_FXP, NULL
};
struct IntuiText IText13 = {
3, 0, JAM2, 2, 3, NULL, (UBYTE *) "ABOUT", NULL
};
struct Gadget Gadget10 = {
&Gadget11, 15, 125, 44, 13, NULL, RELVERIFY, BOOLGADGET, (APTR) &Border1,
NULL, &IText13, NULL, NULL, GAD_ABOUT, NULL
};
UBYTE Gadget9SIBuff[40];
struct StringInfo Gadget9SInfo = {
Gadget9SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
SHORT BorderVectors14[] = {
0, 0, 160, 0, 160, 9, 0, 9, 0, 0
};
struct Border Border14 = {
-1, -1, 3, 0, JAM1, 5, BorderVectors14, NULL
};
struct Gadget Gadget9 = {
&Gadget10, 15, 113, 159, 8, NULL, RELVERIFY+LONGINT, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget9SInfo, GAD_DEPTH, NULL
};
UBYTE Gadget8SIBuff[40];
struct StringInfo Gadget8SInfo = {
Gadget8SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget8 = {
&Gadget9, 15, 101, 159, 8, NULL, RELVERIFY+LONGINT, STRGADGET, (APTR)&Border14,
NULL, NULL, NULL, (APTR) &Gadget8SInfo, GAD_YSIZE, NULL
};
UBYTE Gadget7SIBuff[40];
struct StringInfo Gadget7SInfo = {
Gadget7SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget7 = {
&Gadget8, 15, 89, 159, 8, NULL, RELVERIFY+LONGINT, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget7SInfo, GAD_XSIZE, NULL
};
UBYTE Gadget6SIBuff[40];
struct StringInfo Gadget6SInfo = {
Gadget6SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget6 = {
&Gadget7, 15, 77, 159, 8, NULL, RELVERIFY, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget6SInfo, GAD_DIV, NULL
};
UBYTE Gadget5SIBuff[40];
struct StringInfo Gadget5SInfo = {
Gadget5SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget5 = {
&Gadget6, 15, 65, 159, 8, NULL, RELVERIFY+LONGINT, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget5SInfo, GAD_MAXITER, NULL
};
UBYTE Gadget4SIBuff[40];
struct StringInfo Gadget4SInfo = {
Gadget4SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget4 = {
&Gadget5, 15,53, 159,8, NULL, RELVERIFY, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget4SInfo, GAD_IMAG1, NULL
};
UBYTE Gadget3SIBuff[40];
struct StringInfo Gadget3SInfo = {
Gadget3SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget3 = {
&Gadget4, 15, 41, 159, 8, NULL, RELVERIFY, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget3SInfo, GAD_IMAG0, NULL
};
UBYTE Gadget2SIBuff[40];
struct StringInfo Gadget2SInfo = {
Gadget2SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget2 = {
&Gadget3, 15, 29, 159, 8, NULL, RELVERIFY, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget2SInfo, GAD_REAL1, NULL
};
UBYTE Gadget1SIBuff[40];
struct StringInfo Gadget1SInfo = {
Gadget1SIBuff, UNDOBUFFER, 0, 40, 0, 0, 0, 0, 0, 0, 0, 0, NULL
};
struct Gadget Gadget1 = {
&Gadget2, 15, 17, 159, 8, NULL, RELVERIFY, STRGADGET, (APTR) &Border14,
NULL, NULL, NULL, (APTR) &Gadget1SInfo, GAD_REAL0, NULL
};
#define GadgetList1 Gadget1
struct IntuiText IText24 = {
3, 0, JAM2, 42,178, NULL, (UBYTE *) "Colorcycling", NULL
};
struct IntuiText IText23 = {
3, 0, JAM2, 42, 162, NULL, (UBYTE *) "Multitasking", &IText24
};
struct IntuiText IText22 = {
3, 0, JAM2, 180, 113, NULL, (UBYTE *) "Bitplanes", &IText23
};
struct IntuiText IText21 = {
3, 0, JAM2, 180, 101, NULL, (UBYTE *) "Windowsize (y)", &IText22
};
struct IntuiText IText20 = {
3, 0, JAM2, 180, 89, NULL, (UBYTE *) "Windowsize (x)", &IText21
};
struct IntuiText IText19 = {
3, 0, JAM2, 179, 77, NULL, (UBYTE *) "Divergence", &IText20
};
struct IntuiText IText18 = {
3, 0, JAM2, 178, 65, NULL, (UBYTE *) "Calc. depth", &IText19
};
struct IntuiText IText17 = {
3, 0, JAM2, 178, 53, NULL, (UBYTE *) "Imag. part (max)", &IText18
};
struct IntuiText IText16 = {
3, 0, JAM2, 178, 41, NULL, (UBYTE *) "Imag. part (min)", &IText17
};
struct IntuiText IText15 = {
3, 0, JAM2, 178, 29, NULL, (UBYTE *) "Real part (max)", &IText16
};
struct IntuiText IText14 = {
3, 0, JAM2, 178, 17, NULL, (UBYTE *) "Real part (min)", &IText15
};
#define IntuiTextList1 IText14
struct NewWindow NW2 = {
0, 0, 320, 196, 0, 1, GADGETUP, WINDOWDRAG+ACTIVATE+NOCAREREFRESH, &Gadget1,
NULL, NULL, NULL, NULL, 5, 5, -1, -1, CUSTOMSCREEN
};